import request from "@/utils/request";

export function queryPage(data) {
  return request({
    url: "/device/queryPage",
    method: "post",
    data
  })
}

export function queryListByDevice(data) {
  return request({
    url: "/device/queryList",
    method: "get",
    params: data
  })
}

export function queryParameterList(data) {
  return request({
    url: "/device/queryParameterList",
    method: "get",
    params: data
  })
}

export function saveParameterList(data) {
  return request({
    url: "/device/saveParameterList",
    method: "post",
    data
  })
}

export function queryDeviceTagList(data) {
  return request({
    url: "/device/queryDeviceTagList",
    method: "get",
    params: data
  })
}

export function saveDeviceTag(data) {
  return request({
    url: "/device/saveDeviceTag",
    method: "post",
    data
  })
}
